from func import *

DrinkMenu = {1: "豆浆", 2: "果汁", 3: "牛奶"}
FoodMenu = {1: "馒头", 2: "包子", 3: "鸡蛋", 4: "油条"}
OrderList = []

while (True):
    print("\n----------- 欢迎使用点餐系统 -----------")
    print("本软件提供如下功能：\n 1. 点餐\n 2. 打印报表\n 3. 存储报表\n 4. 退出系统")
    choice = int(input("请输入数字选择一项功能："))
    if choice == 1:
        OrderList=orderMenu(DrinkMenu,FoodMenu,OrderList)
    elif choice == 2:
        printReport(OrderList)
    elif choice == 3:
        exportReport(OrderList)
    elif choice == 4:
        exit(0)
    else:
        print("请输入正确的序号(1~4)。")

